package com.linln.modules.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.linln.modules.system.domain.SysSet;
import com.linln.modules.system.repository.SysSetRepository;
import com.linln.modules.system.service.SysSetService;

/**
 * @author 小懒虫
 * @date 2018/8/14
 */
@Service
public class SysSetServiceImpl implements SysSetService {

    @Autowired
    private SysSetRepository setRepository;

      
    /**
     * 根据角色ID查询角色数据
     * @param id 角色ID
     */
    @Override
    public SysSet getById(Long id) {
        return setRepository.findById(id).orElse(null);
    }
 
}
